#ifndef REQH_H
#define REQH_H

/* 客户端request */
typedef  struct requestheader{
   /* 命令 */
   unsigned short command;
   long filesize;
   long offset;

   /* 参数个数 */
   unsigned int argcnt;
}RequestHeader;

RequestHeader* createRequestHeader(unsigned short command, long filesize, long offset, unsigned int argcnt);

void freeRequestHeader(RequestHeader *header);


#endif // !REQH_H